package com.qding.park.adapter.report.controller.v1.form;

import java.util.Date;

import javax.validation.Valid;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import com.qding.park.adapter.report.valid.PayMode;

/**
 * @ClassName ParkOutRenewalForm
 * @Description TODO(出场缴费记录)
 * @author LeiYang
 * @Date 2017年4月27日 上午11:15:57
 * @version 1.0.0
 */
public class ParkOutRenewalForm {
    
    /**
     * @Field @supplyId : TODO(厂商编号)
     */
    @NotEmpty(message="supplyId不能为空")
    private String supplyId;
    
    /**
     * @Field @carNum : TODO(车牌号)
     */
    @NotEmpty(message="carNum不能为空")
    private String carNum;
    
    /**
     * @Field @parkCode : TODO(车场编码)
     */
    @NotEmpty(message="parkCode不能为空")
    private String parkCode;
    
    /**
     * @Field @orderId : TODO(订单号)
     */
    @NotEmpty(message="orderId不能为空")
    private String orderId;
    
    /**
     * @Field @enInId : TODO(入场流水)
     */
    @NotEmpty(message="enInId不能为空")
    private String enInId;
    
    /**
     * @Field @feeMoney : TODO(实缴费用  分)
     */
    @DecimalMin(value="0",message="feeMoney必须大于等于0")
    @NotNull
    private String feeMoney;
    
    /**
     * @Field @shouldFeeMoney : TODO(应缴费用)
     */
    @DecimalMin(value="0",message="shouldFeeMoney必须大于等于0")
    @NotNull
    private String shouldFeeMoney;
    
    /**
     * @Field @payTime : TODO(支付时间)
     */
    @NotNull(message="payTime不能为空")
    private Date payTime;
    
    /**
     * @Field @payMode : TODO(缴费类型)
     */
    @PayMode
    private String payMode;

    
    public String getSupplyId() {
        return supplyId;
    }

    
    public void setSupplyId(String supplyId) {
        this.supplyId = supplyId;
    }

    
    public String getCarNum() {
        return carNum;
    }

    
    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    
    public String getParkCode() {
        return parkCode;
    }

    
    public void setParkCode(String parkCode) {
        this.parkCode = parkCode;
    }

    
    public String getOrderId() {
        return orderId;
    }

    
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    
    public String getEnInId() {
        return enInId;
    }

    
    public void setEnInId(String enInId) {
        this.enInId = enInId;
    }

    
    public String getFeeMoney() {
        return feeMoney;
    }

    
    public void setFeeMoney(String feeMoney) {
        this.feeMoney = feeMoney;
    }

    
    public String getShouldFeeMoney() {
        return shouldFeeMoney;
    }

    
    public void setShouldFeeMoney(String shouldFeeMoney) {
        this.shouldFeeMoney = shouldFeeMoney;
    }

    
    public Date getPayTime() {
        return payTime;
    }

    
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    
    public String getPayMode() {
        return payMode;
    }

    
    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }


    @Override
    public String toString() {
        return "ParkOutRenewalForm [supplyId=" + supplyId + ", carNum=" + carNum + ", parkCode=" + parkCode
                + ", orderId=" + orderId + ", enInId=" + enInId + ", feeMoney=" + feeMoney + ", shouldFeeMoney="
                + shouldFeeMoney + ", payTime=" + payTime + ", payMode=" + payMode + "]";
    }
    
    

}
